package com.order.demo.client;

import com.order.demo.entity.Category;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name="COMMODITY")
public interface CommodityClient {
    @RequestMapping("/test")
    String commodityMsg();

    @RequestMapping("/getUserById")
   List<Category> findCategoryList(List<String> CategoryList);
}
